﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

public class Floor
{
    private string FloorName { get; set; }
    private string ShowTime { get; set; }
    private ICollection<Row> _rows;

	public Floor(string floorName, string showTime)
	{
	    FloorName = floorName;
	    ShowTime = showTime;
	    _rows = new List<Row>();
        AddTenRows();
	}

    public void AddRowToRows(Row row)
    {
        _rows.Add(row);
    }

    private void AddTenRows()
    {
        string[] letters = {"a","b","c","d","e"};

        foreach (string letter in letters)
        {
            Row r = new Row(0, letter);
            _rows.Add(r);
        }
    }

    public List<Row> GetRows()
    {
        return _rows.ToList();
    } 
}